<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>稻普资金子系统-登录</title>
    <link rel="stylesheet" href="../../plugins/layui/css/layui.css" media="all" type="text/css">
    <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css" type="text/css">
    <link rel="stylesheet" href="../../build/css/common.css" media="all" type="text/css">
    <script type="text/javascript">
        document.write('<script type="text/javascript" src="../../libs/common/version.js?v=' + new Date().getTime() + '" charset="utf-8"><\/script>');
    </script>
</head>

<body>
    <div class="layui-padding">欢迎使用本系统，今天是星期五</div>
</body>
<script src="../../plugins/layui/layui.js"></script>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript">
    loadCommonJs();
    document.write(returnCitySN["cip"]+','+returnCitySN["cname"])
    layui.use("jquery",function($){
        $(function () {
            $.ajax({
                url: 'http://v.juhe.cn/calendar/day',
                data: {
                    date:"2012-1-1",
                    key:"029035319c4da5ee8a9d3de13b5f8cba"
                },
                dataType: 'jsonp',
                cache: false,
                timeout: 5000,
                crossDomain: true,
                // jsonp 字段含义为服务器通过什么字段获取回调函数的名称
                jsonp: 'callback',
                // 声明本地回调函数的名称，jquery 默认随机生成一个函数名称
                jsonpCallback: 'jsonpCallback',
                success: function(data) {
                    console.log(data)
                },
                error: function(jqXHR, textStatus, errorThrown) {
                    console.log(textStatus + ' ' + errorThrown);
                }
            });
        });
    });
</script>
</html>